package com.ctshk.rpc.visa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 签证产品
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_visa_product")
@ApiModel(value="VisaProduct对象", description="签证产品")
public class VisaProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属签证资源")
    private Long visaId;

    @ApiModelProperty(value = "产品来源")
    private Integer sourceType;

    @ApiModelProperty(value = "产品状态")
    private Integer status;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal 	amount;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "产品编号")
    private String productNum;

}
